<%@page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/taglib/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/taglib/struts-html.tld" prefix="html"%>


<html:form action="/message/sendInstructor"
	enctype="multipart/form-data">

	<table class="custom_table">

		<tr>
			<td><bean:message key="common.message_create.messages.user_to" />
			:</td>
			<td><html:select name="messageForm" property="userToId">
				<html:option value="0">
					<bean:message key="common.messages.all" />
				</html:option>
				<html:optionsCollection name="messageForm" property="userList"
					label="label" value="value" />
			</html:select></td>
		</tr>
		<tr>
			<td><bean:message key="common.messages.message" /><span
				style="color: red;">*</span> :<br />
			<div style="color: red; font-size: 11px;"><html:errors
				property="message" /></div>
			</td>
			<td><html:textarea cols="40" rows="8" name="messageForm"
				property="message" /></td>
		</tr>
		<tr>
			<td><bean:message key="common.messages.attach_file" /> :<br />
			<div style="color: red; font-size: 11px;"><html:errors
				property="fileAttach" /></div>
			</td>
			<td><html:file name="messageForm" property="fileAttach" /></td>
		</tr>
		<tr>
			<td></td>
			<td><html:submit property="method" value="send" /></td>
		</tr>
	</table>
</html:form>